home *** CD-ROM | disk | FTP | other *** search
- on(release){
- _root.remove_bg();
- _root.player.swapDepths(_root.player.depth);
- var a = enemyactive - 100;
- while(a < enemyactive + 1)
- {
- _root["enemy" + a].removeMovieClip();
- _root["boss_mc" + a].removeMovieClip();
- a++;
- }
- var a = ammoactive - 100;
- while(a < ammoactive + 1)
- {
- _root["ammo" + a].removeMovieClip();
- a++;
- }
- var a = ammoactive - 100;
- while(a < ammoactive + 1)
- {
- _root["weili_mc" + a].removeMovieClip();
- a++;
- }
- var a = lifeactive - 100;
- while(a < lifeactive + 1)
- {
- _root["add_life" + a].removeMovieClip();
- a++;
- }
- var a = _root.ammoactive - 100;
- while(a < _root.ammoactive + 1)
- {
- _root["hanbao_mc" + a].removeMovieClip();
- a++;
- }
- var a = _root.ammoactive - 100;
- while(a < _root.ammoactive + 1)
- {
- _root["shengdai_mc" + a].removeMovieClip();
- a++;
- }
- gotoAndStop(408);
- }
-